<?php
class Lesson_typeModel extends CommonModel {
	protected $_validate	 =	 array(
		array('type_name','require','课次名称不能为空',1),
		array('starttime','require','开始时间不能为空',1),
		array('endtime','require','结束时间不能为空',1)
		);
	protected $_auto	 =	 array(
		array('school_id','getschool',1,'callback'),
		array('starttime','trim',1,'function'),
		array('endtime','trim',1,'function')

		);


	



	
}